<?php
	/**
	* @File name:	index.php
	* @Desription:	description
	* @Author:	 	jinxin<jx@178.com>   
	* @Date:	 	Thu Aug 11 17:55:41 CST 2011
	* @Copyright 	Copytright (c) 2008-2011 178.COM Co., Ltd.
	* @version	 	$Id $
	*/
	
	class admin_index_controller_test extends controller {
		public $o;
		public function __construct($app,$controller,$site){
			parent::__construct($app,$controller,$site);
			$this->o = model::factory('admin_index_model_test');
		}
		
		public function index(){}
		public function mysql(){}
		public function submysqladd(){
			$this->rander = 'json';
			print_r($_POST);
			$id = $this->o->addRow(array(
				'name'	=> $_POST['name'],
				'num'	=> $_POST['num'],
			));
			echo $id;exit;
		}
		public function mysqltest(){}
		public function listtest(){}
		public function pagetest(){}
	}